package com.eip.zd.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Prod {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId
    private Long id;
    private String prodId;
    private String prodName;
    private String prodType;
    private String model;
    private BigDecimal unitPrice;
    private Integer unit;
    private Integer ifUse;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    private Integer deleted;
}
